package 第三题;

public class Student {
     String sclass;
     String classTeacher;
     String Date;
     String name;
      public Student(   String sclass, String classTeacher,  String Date) {
       this.sclass=sclass;
       this.classTeacher=classTeacher;
       this.Date=Date;

      }
      public class StudentBiz{
     	 Student[]students=new Student[30];  
     	 public void addStudent(Student stu) {
     		 for(int i=0;i<students.length;i++) {
     			 if(students[i]==null) {
     				 students[i]=stu;
     				 break;
     			 }
     		 }
     	 }
     	 
     	 
     	 }
      public void print() {
    	   	 
    	   	 System.out.println("班级名称"+this.sclass+
    	   			 ",班主任名字"+this.classTeacher+
    	   			 ",开班日期"+this.Date);
      }
	public void addStudent(Student student1) {
		
		
	}	
      
}
     
   
